package com.dao;

import com.bean.Mb_account;
import com.service.core.BaseMapper;

public interface Mb_accountMapper extends BaseMapper<Mb_account, Integer> {

    Mb_account selectByMemberId(Integer mid);

    Mb_account selectByMerchantId(Integer id);

    /**
     * 退款操作
     */
    void updateAccountPlusByMemberid(Mb_account account);

    /**
     * 消费操作
     */
    void updateAccountSubtractByMemberid(Mb_account account);
}